package com.feige.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 签到表
 * </p>
 *
 * @author feige
 * @since 2020-11-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SignIn对象", description="签到表")
public class SignIn implements Serializable {

    private static final long serialVersionUID = 2982016127279825799L;

    @ApiModelProperty(value = "签到编号")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "签到用户")
    private String signUserId;

    @ApiModelProperty(value = "签到任务")
    private String signTaskId;

    @ApiModelProperty(value = "签到设备")
    private String signDevice;

    @ApiModelProperty(value = "签到IP")
    private String signIp;

    @ApiModelProperty(value = "状态(1正常，0禁用)")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
